Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Fri, 28 Nov 2025 15:24:35 +0000 (16:24 +0100)
committerRene Engelhard <rene@debian.org>
Fri, 28 Nov 2025 15:24:35 +0000 (16:24 +0100)
commit8ce69c1f22a409a2c7a702e50a9a078b8052ace3
treeae9d31db57c41cfab60e443a225f4fa15b657c92
parent40b7db41c5a4d7e14c174daeffe21440d3a02859
Support tofu+pgp trust model in GnuPG

Bug-Debian: https://bugs.debian.org/955271
Forwarded: no

GnuPG supports a trust-on-first-use layer that sits on top of the
standard PGP trust model. If this is enabled, 'gpg --list-keys' needs
write and lock permissions on the TOFU database to return any useful
data. Allow this access through AppArmor.

Gbp-Pq: Name apparmor-gnupg-tofu.diff
sysui/desktop/apparmor/program.soffice.bin